package com.renren.project.db.utils.bean;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ConditionType {
    /**
     *
     */
    EQUAL("等于"),
    LIKE("模糊查询"),
    GT("大于"),
    GT_EQUAL("大于等于"),
    LT_EQUAL("小于等于"),
    LT("小于"),
    IN("包含于"),
    NOT_IN("不包含于"),
    EXISTS("存在"),
    NOT_EXISTS("不存在"),
    ORDER("排序"),
    GROUP("分组"),
    NULL_HANDLER("空值处理"),
    SQL("sql片段"),
    NULL("空值"),
    NOT_NULL("不是空值");

    @EnumValue
    @JsonValue
    private final String desc;
}
